<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %>
<%@ page session="false"%>
<html>
<head>
<title>Home</title>
</head>
<body>
<h1>Hello world!</h1>
<spring:hasBindErrors name="commandName">
	<div id="messageArea" class="errors">
		<span>Errors</span>
		<ul>
			<c:forEach items="${errors.allErrors}" var="error">
				<li><spring:message message="${error}" htmlEscape="true" javaScriptEscape="true" /></li>
			</c:forEach>
		</ul>
	</div>
	<br />
</spring:hasBindErrors>
</body>
</html>